BoltCheckout\Bolt_Payment_Gateway S

Total Complexity 35
Dependencies 8
Dependents 1
Total lines 392
Lines of code 198
Logical lines of code 94
Comment lines 134
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
process_refund()
S
52 6 23
validate_bolt_button_color_field()
S
54 5 20
__construct()
S
57 3 16
get_icon()
S
59 3 11
generate_javascript_html()
S
48 1 39
refund_transaction()
S
53 2 23
process_admin_options()
S
66 3 8
admin_options()
S
65 1 17
can_refund_order()
S
80 2 3
bolt_sanitize_hex_color()
S
71 2 6
process_payment()
S
63 1 11
init_form_fields()
S
80 1 3
payment_fields()
S
80 1 3
get_fields()
S
81 1 3
get_cart_data_js()
S
76 1 4
get_button_html()
S
75 1 4
render_bolt_checkout()
S
76 1 4